package com.jiutian.hotel.pojo;

import java.io.Serializable;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table (name = "roomoffer")
public class HotelRoomOfferData implements Serializable {
	private static final long serialVersionUID = 1L;
    private int id;
    private String roomid;
    private int leftroom;
    private String startDate;
    private String endDate;
    private int totalroom;

    @Id
    @Column(name = "OFFERID")
//    @GeneratedValue(strategy=GenerationType.AUTO) 
    public int getId() {
        return this.id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Column(name = "ROOMID")
    public String getRoomid() {
        return this.roomid;
    }

    public void setRoomid(String id) {
        this.roomid = id;
    }

    @Column(name = "LEFTROOM")
    public int getLeftroom() {
        return this.leftroom;
    }

    public void setLeftroom(int leftroom) {
        this.leftroom = leftroom;
    }

    @Column(name = "STARTDATE")
    public String getStartDate() {
        return this.startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    @Column(name = "ENDDATE")
    public String getEndDate() {
        return this.endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    @Column(name = "TOTALROOM")
    public int getTotalroom() {
        return this.totalroom;
    }

    public void setTotalroom(int totalroom) {
        this.totalroom = totalroom;
    }
}
